package org.homonoia.model.core;

import java.util.Date;

public enum NodeStatus {
    AVAILABLE, BUSY, UNKNOWN;

    private Date lastUpdate;

    NodeStatus() {
	this.lastUpdate = new Date();
    }

    public void nodeUpdated() {
	lastUpdate = new Date();
    }

    public final Date getUpdateTime() {
	return lastUpdate;
    }
}